package com.buba.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务商
 * </p>
 *
 * @author MrJia
 * @since 2020-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Service对象", description="服务商")
public class Service implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "企业类型")
    private String enterpriseType;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "纳税人识别号")
    private String taxpayerCode;

    @ApiModelProperty(value = "是否为一般纳税人")
    private Integer isNormalTaxpayer;

    @ApiModelProperty(value = "法人代表名称")
    private String legalPerson;

    @ApiModelProperty(value = "身份证号码")
    private String idenityCode;

    @ApiModelProperty(value = "银行开户名")
    private String bankAccountName;

    @ApiModelProperty(value = "开户行")
    private String bankName;

    @ApiModelProperty(value = "开户行支行名称")
    private String bankOtherName;

    @ApiModelProperty(value = "银行账号")
    private String bankCode;

    @ApiModelProperty(value = "公司地址")
    private String companyAddress;

    @ApiModelProperty(value = "公司固定电话")
    private String companyTelephone;

    @ApiModelProperty(value = "负责人名称")
    private String principleName;

    @ApiModelProperty(value = "负责人电话")
    private String principlePhone;

    @ApiModelProperty(value = "安装工人数")
    private Integer installerNumber;

    @ApiModelProperty(value = "维修工人数")
    private Integer maintenanceWorkNumber;

    @ApiModelProperty(value = "持有国家资质工程师人数")
    private Integer engineerNumber;

    @ApiModelProperty(value = "说明描述")
    private String comment;

    @ApiModelProperty(value = "营业执照")
    private String companyLicense;

    @ApiModelProperty(value = "服务区域")
    private String areaId;

    @ApiModelProperty(value = "服务能力")
    private String serviceAbility;

    @ApiModelProperty(value = "签约上游")
    private String upstream;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "到期时间")
    private Date endTime;

    @ApiModelProperty(value = "版本")
    @Version
    private Integer version;

    @ApiModelProperty(value = "0未删除/1已删除")
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "合同照片")
    private String imageId;


}
